##
## Copyright (C) 2004-2006  Autodesk, Inc.
## 
## This library is free software; you can redistribute it and/or
## modify it under the terms of version 2.1 of the GNU Lesser
## General Public License as published by the Free Software Foundation.
## 
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## Lesser General Public License for more details.
## 
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
##

AUTOMAKE_OPTIONS = foreign

SUBDIRS = Message Overrides Provider UnitTest

DIST_SUBDIRS = Message Overrides Provider UnitTest

EXTRA_DIST = WCS.sln

lib_LTLIBRARIES = libWCSOverrides.la libWCSProvider.la

##building libWCSOverrides.so
libWCSOverrides_la_SOURCES =

# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libWCSOverrides_la_SOURCES = dummy.cpp

libWCSOverrides_la_LIBADD =  \
  Overrides/libWCSOverridesSrc.la \
  $(FDOUTILITIES)/Common/libProvidersCommon.la \
  $(FDO)/Unmanaged/Src/libFDO.la

libWCSOverrides_la_LDFLAGS = \
  -shared \
  -release $(VERSION)


##building libWCSProvider.so
libWCSProvider_la_SOURCES =

# Dummy C++ source to cause C++ linking.
nodist_EXTRA_libWCSProvider_la_SOURCES = dummy.cpp

libWCSProvider_la_LIBADD =  \
  Provider/libWCSProviderSrc.la \
  $(FDO)/Unmanaged/Src/libFDO.la \
  $(FDOUTILITIES)/Common/libProvidersCommon.la \
  $(FDOUTILITIES)/OWS/libFdoOws.la  \
  libWCSOverrides.la \
  -lgdal    \
  -lpthread

libWCSProvider_la_LDFLAGS = \
  -shared \
  -release $(VERSION) \
  -L$(FDOGDAL)/lib


